home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / usenet / sources / volume90 / util / st / part01 / readme < prev    next >
Text File  |  1990-06-04  |  2KB  |  44 lines

  1.  
  2.                 Interrupt-driven Serial I/O Testbed
  3.                           by John Schultz
  4.                               4/16/90
  5.  
  6.   This code directly accesses the hardware and achieves very high
  7. baud rates without errors.  This code should be legal if the serial
  8. device is first opened and exclusive access is granted.  Speeds of
  9. over 130k baud between a stock, nofastmem 500 and a 25mhz GVP 68030
  10. have been achieved.  The '030 Amiga can go much faster; it can read
  11. at least 223,720 baud.  The 500 poops out at 132,575 baud.  Writing
  12. fast is no problem, reading eats up some bandwidth, and is thus
  13. the bottleneck.  Polled I/O (yuk) can yield faster rates. These
  14. baud rates were accomplished with a direct 2,3,7 wire, 50 foot
  15. shielded cable.  Max baud rates may vary depending on cable and
  16. hardware configurations.
  17.   The current test code, ST (Serial Test), writes characters typed
  18. on the keyboard 10 times.  Errors at high speed show up when less
  19. than 10 characters are received or funny characters are inserted.
  20.   I can run DNet and leave it running while I run this code!  DNet
  21. must be idling, and the baud rate must be the same as DNet's (usually
  22. 19200) the last time you run ST.  This is very useful as quiting and
  23. restarting DNet is not necessary.
  24.   Part of the original assembly code came from the Amiga Transactor,
  25. September 1989: Volume 2, Issue 6,pp 42-44, by Mike Schwartz.  The 
  26. example changed the AutoVectors directly, and had a few typos. I use
  27. SetIntVector(), and do things a little differently with the rbf and
  28. tbe code. This was pretty much the first assembly language program I
  29. wrote, so experts feel free to point out improvements. 
  30.   I wrote the code using Lattice 5.04.  I currently use the Cape
  31. or Devpac assemblers for speed, but for this example used Lattice's
  32. asm (everyone with Lattice should have it).
  33.  
  34.   As always, please point out any optimizations, errors, or illegal
  35. acts committed in this code. If you enhance the code, please email me
  36. a copy.
  37.  
  38.   Use this code as you wish; no strings, ropes, cables, or
  39. bungee cords attached.
  40.  
  41.  
  42.  
  43.     John
  44.